package cn.bocweb.spinning.model.Bean;

import java.util.List;

/**
 * Created by chenchangxing on 16/1/21.
 */
public class TestRecordBean {

    /**
     * msg : 获取成功
     * return_code : 0
     * data : [{"testid":"A121618730367106","score":"0","subtitle":"一塌糊涂","start_time":"1453361873","spend_time":"1699","end_time":"1453362579"},{"testid":"A121590489543129","score":"10","subtitle":"一塌糊涂","start_time":"1453359048","spend_time":"2386","end_time":"1453359066"},{"testid":"A121589488915312","score":"15","subtitle":"一塌糊涂","start_time":"1453358948","spend_time":"2382","end_time":"1453358971"},{"testid":"A121570461004719","score":"0","subtitle":"一塌糊涂","start_time":"1453357046","spend_time":"2395","end_time":"1453357059"},{"testid":"A121553195503272","score":"15","subtitle":"一塌糊涂","start_time":"1453355319","spend_time":"2388","end_time":"1453355335"}]
     */

    private String msg;
    private int return_code;
    /**
     * testid : A121618730367106
     * score : 0
     * subtitle : 一塌糊涂
     * start_time : 1453361873
     * spend_time : 1699
     * end_time : 1453362579
     */

    private List<DataEntity> data;

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public void setReturn_code(int return_code) {
        this.return_code = return_code;
    }

    public void setData(List<DataEntity> data) {
        this.data = data;
    }

    public String getMsg() {
        return msg;
    }

    public int getReturn_code() {
        return return_code;
    }

    public List<DataEntity> getData() {
        return data;
    }

    public static class DataEntity {
        private String testid;
        private String score;
        private String subtitle;
        private String start_time;
        private String spend_time;
        private String end_time;

        public void setTestid(String testid) {
            this.testid = testid;
        }

        public void setScore(String score) {
            this.score = score;
        }

        public void setSubtitle(String subtitle) {
            this.subtitle = subtitle;
        }

        public void setStart_time(String start_time) {
            this.start_time = start_time;
        }

        public void setSpend_time(String spend_time) {
            this.spend_time = spend_time;
        }

        public void setEnd_time(String end_time) {
            this.end_time = end_time;
        }

        public String getTestid() {
            return testid;
        }

        public String getScore() {
            return score;
        }

        public String getSubtitle() {
            return subtitle;
        }

        public String getStart_time() {
            return start_time;
        }

        public String getSpend_time() {
            return spend_time;
        }

        public String getEnd_time() {
            return end_time;
        }
    }
}
